[INFO] cloning repository https://github.com/rust1cean/pascal-syntax-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust1cean/pascal-syntax-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust1cean%2Fpascal-syntax-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust1cean%2Fpascal-syntax-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b1e9219acfad2d5c3df935f3263f3ad70e1cece
[INFO] fixing rust1cean/pascal-syntax-analyzer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust1cean%2Fpascal-syntax-analyzer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rust1cean/pascal-syntax-analyzer
[INFO] finished tweaking git repo https://github.com/rust1cean/pascal-syntax-analyzer
[INFO] tweaked toml for git repo https://github.com/rust1cean/pascal-syntax-analyzer written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rust1cean/pascal-syntax-analyzer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rust1cean/pascal-syntax-analyzer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb
[INFO] running `Command { std: "docker" "start" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking pascal-lexer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/main.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let data = String::from_utf8(data).unwrap();
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/main.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let data = String::from_utf8(data).unwrap();
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> lexer/src/lib.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use anyhow::Result;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Identifier`
[INFO] [stdout]  --> lexer/src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use crate::token::Identifier;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Keyword`
[INFO] [stdout]  --> lexer/src/lib.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use crate::token::Keyword;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Symbol`
[INFO] [stdout]   --> lexer/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use crate::token::Symbol;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> lexer/src/lib.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use anyhow::Result;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Identifier`
[INFO] [stdout]  --> lexer/src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use crate::token::Identifier;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Keyword`
[INFO] [stdout]  --> lexer/src/lib.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use crate::token::Keyword;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Symbol`
[INFO] [stdout]   --> lexer/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use crate::token::Symbol;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut tokens = Vec::<Token>::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut mode = Mode::Normal;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut from = 0;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut to = 0;
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]   --> lexer/src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut mode = Mode::Normal;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> lexer/src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let slice = || &input[from..=to];
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> lexer/src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         for c in input.chars() {}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `'\0'..='&'`, `'('..='z'`, `'|'..='\u{d7ff}'` and 1 more not covered
[INFO] [stdout]   --> lexer/src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |             match c {
[INFO] [stdout]    |                   ^ patterns `'\0'..='&'`, `'('..='z'`, `'|'..='\u{d7ff}'` and 1 more not covered
[INFO] [stdout]    |
[INFO] [stdout]    = note: the matched value is of type `char`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 72 ~                 '{' => self.mode.set(Mode::Comment),
[INFO] [stdout] 73 ~                 _ => todo!(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> lexer/src/lib.rs:96:41
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn process_as_number(&mut self, c: char, input: &'token str) -> Option<Token<'token>> {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> lexer/src/lib.rs:96:50
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn process_as_number(&mut self, c: char, input: &'token str) -> Option<Token<'token>> {
[INFO] [stdout]    |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `self.mode` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> lexer/src/lib.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 self.mode.set(Mode::Normal);
[INFO] [stdout]     |                 ^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn process_as_comment(&mut self, c: char, input: &'token str) {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> lexer/src/lib.rs:100:47
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn process_as_comment(&self, c: char, input: &'token str) {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lexer` (lib test) due to 2 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut tokens = Vec::<Token>::new();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut mode = Mode::Normal;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut from = 0;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lexer/src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut to = 0;
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]   --> lexer/src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut mode = Mode::Normal;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> lexer/src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let slice = || &input[from..=to];
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> lexer/src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         for c in input.chars() {}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `'\0'..='&'`, `'('..='z'`, `'|'..='\u{d7ff}'` and 1 more not covered
[INFO] [stdout]   --> lexer/src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |             match c {
[INFO] [stdout]    |                   ^ patterns `'\0'..='&'`, `'('..='z'`, `'|'..='\u{d7ff}'` and 1 more not covered
[INFO] [stdout]    |
[INFO] [stdout]    = note: the matched value is of type `char`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 72 ~                 '{' => self.mode.set(Mode::Comment),
[INFO] [stdout] 73 ~                 _ => todo!(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> lexer/src/lib.rs:96:41
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn process_as_number(&mut self, c: char, input: &'token str) -> Option<Token<'token>> {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> lexer/src/lib.rs:96:50
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn process_as_number(&mut self, c: char, input: &'token str) -> Option<Token<'token>> {
[INFO] [stdout]    |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `self.mode` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> lexer/src/lib.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 self.mode.set(Mode::Normal);
[INFO] [stdout]     |                 ^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn process_as_comment(&mut self, c: char, input: &'token str) {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> lexer/src/lib.rs:100:47
[INFO] [stdout]     |
[INFO] [stdout] 100 |         fn process_as_comment(&self, c: char, input: &'token str) {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lexer` (lib) due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb", kill_on_drop: false }`
[INFO] [stdout] 2bc932d6b2a68370c50e35dbef5079f3dd05964a3d44c531218ff7fe1aa28ffb
